#include"httplib.h"
#include<iostream>
using namespace std;
#define SERVER_IP "1.94.207.248"
#define SERVER_PORT 8888

int main(){
    httplib::Client client(SERVER_IP,SERVER_PORT);
    httplib::MultipartFormData item;
    item.name="file";
    item.filename="hello.txt";
    item.content="HELLO";
    item.content_type="text/plain";
    httplib::MultipartFormDataItems items;
    items.push_back(item);
    auto res=client.Post("/upfile",items);
    cout<<res->body<<endl;
    cout<<res->status<<endl;
    return 0;
}